require(['jquery', 'hope', 'angular'],function ($, angular, $scope) {
	require(['appconfig'], function (app_hope) {
		debugger;
		/*app_hope.controller("controller_dashboard", function($scope) {
			$('#leftMenu').height($('html').outerHeight() - $('#header').outerHeight());
			
			// 树结构数据整理
			$scope.menuDataHandle = function (menuList) {
				var i, l,
		            key = 'id',
		            parentKey = 'pId',
		            childKey = 'children';
		
		        if (tools.isArray(sNodes)) {
		            var r = [];
		            var tmpMap = {};
		            for (i = 0, l = sNodes.length; i < l; i++) {
		                tmpMap[sNodes[i][key]] = sNodes[i];
		            }
		            for (i = 0, l = sNodes.length; i < l; i++) {
		                if (tmpMap[sNodes[i][parentKey]] && sNodes[i][key] != sNodes[i][parentKey]) {
		                    if (!tmpMap[sNodes[i][parentKey]][childKey])
		                        tmpMap[sNodes[i][parentKey]][childKey] = [];
		                    tmpMap[sNodes[i][parentKey]][childKey].push(sNodes[i]);
		                } else {
		                    r.push(sNodes[i]);
		                }
		            }
		            return r;
		        } else {
		            return [sNodes];
		        }
			};
			
			// 加载菜单
			$scope.menuList = $scope.menuDataHandle(hope.session.get('user_menu_list'));
		});*/
	});
	
});